package com.wtpaint.design.creational.factorymethod;

public class Test {
    public static void main(String[] args) {
//        Video video = new VideoFactory().getVideo(JavaVideo.class);
//        video.produce();
        VideoFactory factory = new JavaVideoFactory();
        factory.getVideo().produce();
    }
}
